// ******************************************************************
// * Copyright(c)  Steven Lu
// * Description   : Schema_BOM_TECHNIC_ITEM
// * CreateDate    : 2014-06-05 18:29:40
// * Creater       : CodeSmith
// * LastChangeDate: 2014-06-05 18:29:40
// * LastChanger   : 2014-06-05 18:29:40
// * Version Info  : 1.0 For ESOL
// ******************************************************************

using System;
using System.Collections.Generic;
using System.Text;
using Suzsoft.Smart.EntityCore;

namespace ESOL.Common.Schema
{
  	[Serializable]
    public partial class BomTechnicItemTable : TableInfo
    {
		public const string C_TableName = "BOM_TECHNIC_ITEM";
		
		public const string C_ID = "ID";
		public const string C_BOM_TECHNIC_ID = "BOM_TECHNIC_ID";
		public const string C_TECHNIC_ID = "TECHNIC_ID";
		public const string C_SEQUENCE = "SEQUENCE";
		public const string C_DESCRIPTION = "DESCRIPTION";
		public const string C_Technic_Code = "Technic_Code";
		public const string C_Rate_time = "Rate_time";
		public const string C_Ready_Time = "Ready_Time";
		public const string C_Close_Time = "Close_Time";
		public const string C_Station_Type = "Station_Type";
		public const string C_Eqpt_Type = "Eqpt_Type";
		public const string C_Technic_Name = "Technic_Name";
        public const string C_BASE_QTY = "BASE_QTY";
		public BomTechnicItemTable()
        {
            _tableName = "BOM_TECHNIC_ITEM";
        }
		
		protected static BomTechnicItemTable _current;
        public static BomTechnicItemTable Current
        {
            get
            {
                if (_current == null)
                {
                    Initial();
                }
                return _current;
            }
        }
		
		private static void Initial()
        {
            _current = new BomTechnicItemTable();

            _current.Add(C_ID, new ColumnInfo(C_ID,"Id", true, typeof(string)));
            _current.Add(C_BOM_TECHNIC_ID, new ColumnInfo(C_BOM_TECHNIC_ID,"BomTechnicId", false, typeof(string)));
            _current.Add(C_TECHNIC_ID, new ColumnInfo(C_TECHNIC_ID,"TechnicId", false, typeof(string)));
            _current.Add(C_SEQUENCE, new ColumnInfo(C_SEQUENCE,"Sequence", false, typeof(int)));
            _current.Add(C_DESCRIPTION, new ColumnInfo(C_DESCRIPTION,"Description", false, typeof(string)));
            _current.Add(C_Technic_Code, new ColumnInfo(C_Technic_Code,"TechnicCode", false, typeof(string)));
            _current.Add(C_Rate_time, new ColumnInfo(C_Rate_time,"RateTime", false, typeof(decimal)));
            _current.Add(C_Ready_Time, new ColumnInfo(C_Ready_Time,"ReadyTime", false, typeof(decimal)));
            _current.Add(C_Close_Time, new ColumnInfo(C_Close_Time,"CloseTime", false, typeof(decimal)));
            _current.Add(C_Station_Type, new ColumnInfo(C_Station_Type,"StationType", false, typeof(string)));
            _current.Add(C_Eqpt_Type, new ColumnInfo(C_Eqpt_Type,"EqptType", false, typeof(string)));
            _current.Add(C_Technic_Name, new ColumnInfo(C_Technic_Name,"TechnicName", false, typeof(string)));
            _current.Add(C_BASE_QTY, new ColumnInfo(C_BASE_QTY, "BASE_QTY", false, typeof(int)));
			
		}
		
		public ColumnInfo ID
        {
            get { return this[C_ID]; }
        }
		
		public ColumnInfo BOM_TECHNIC_ID
        {
            get { return this[C_BOM_TECHNIC_ID]; }
        }
		
		public ColumnInfo TECHNIC_ID
        {
            get { return this[C_TECHNIC_ID]; }
        }
		
		public ColumnInfo SEQUENCE
        {
            get { return this[C_SEQUENCE]; }
        }
		
		public ColumnInfo DESCRIPTION
        {
            get { return this[C_DESCRIPTION]; }
        }
		
		public ColumnInfo Technic_Code
        {
            get { return this[C_Technic_Code]; }
        }
		
		public ColumnInfo Rate_time
        {
            get { return this[C_Rate_time]; }
        }
		
		public ColumnInfo Ready_Time
        {
            get { return this[C_Ready_Time]; }
        }
		
		public ColumnInfo Close_Time
        {
            get { return this[C_Close_Time]; }
        }
		
		public ColumnInfo Station_Type
        {
            get { return this[C_Station_Type]; }
        }
		
		public ColumnInfo Eqpt_Type
        {
            get { return this[C_Eqpt_Type]; }
        }
		
		public ColumnInfo Technic_Name
        {
            get { return this[C_Technic_Name]; }
        }

        public ColumnInfo BASE_QTY
        {
            get { return this[C_BASE_QTY]; }
        }
		
		
	}
}

